package com.huatai.datacenter.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Lion
 * @date 2023/6/20  15:32
 */
@Data
@TableName("tb_sync_task")
public class SyncTableEntity extends BaseEntity{

	@TableField("syncTaskName")
	@ApiModelProperty("任务描述")
	private String syncTaskName;

	@TableField("dataSourceId")
	@ApiModelProperty("源数据库id")
	private long dataSourceId;

	@TableField("targetSourceId")
	@ApiModelProperty("目标数据库id")
	private long targetSourceId;

	@TableField("syncTableName")
	@ApiModelProperty("同步的表名")
	private String syncTableName;

}
